package com.xx.sg.own.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xx.sg.handler.ListStrToStringHandler;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("sg_alarm_video")
public class AlarmVideo {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @TableField(value = "alarm_id")
    private String alarmId;

    @TableField(value = "type")
    private String type;

    @TableField(value = "src")
    private String src;

    @TableField(value = "name")
    private String name;

    @TableField(value = "show_actions")
    private Boolean showActions;
}
